package com.learn.log.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
public class ApiController {

	@GetMapping("pos")
	public void log1() {
		log.info("local info");
		log.error("local error");
		log.warn("local warn");
	}
}